# $OpenBSD: Makefile,v 1.4 2015/03/27 08:43:01 ajacoutot Exp $

COMMENT =	lightweight audio player with a simple interface
DISTNAME =	potamus-16
CATEGORIES =	audio x11
REVISION =	0

HOMEPAGE =	http://offog.org/code/potamus/
MAINTAINER =	Brian Callahan <bcallah@openbsd.org>

# GPLv2+
PERMIT_PACKAGE_CDROM =	Yes

WANTLIB += FLAC X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender ao atk-1.0 audiofile avcodec
WANTLIB += avformat avutil c cairo fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-x11-2.0 m mad modplug opusfile pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread samplerate vorbisfile
WANTLIB += xml2 z

MASTER_SITES =	http://offog.org/files/

MODULES =	devel/gettext

LIB_DEPENDS =	audio/libao \
		audio/libmad \
		audio/libmodplug \
		audio/libsamplerate \
		audio/opusfile \
		devel/libaudiofile \
		devel/libglade2 \
		graphics/ffmpeg \
		x11/gtk+2

RUN_DEPENDS =	devel/desktop-file-utils \
		x11/gtk+3,-guic

CONFIGURE_STYLE =	gnu
CONFIGURE_ARGS =	--disable-output-jack

.include <bsd.port.mk>
